package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.Competitions.Competitions;
import com.example.demo.pojo.Competitions.VipCompetitionDetail;
import com.example.demo.pojo.R;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface VipCompetitionService extends IService<Competitions>, Serializable {
    R<Map<String, String>> creatCompetition(Competitions competitions, String token);

    void vipJoinCompetition(Integer userId, Integer id);

    void vipOutJoinCompetition(Integer userId, Integer id);


    R<T> manageInvitedUsers(String token, Integer competitionId, List<Integer> userIds, String isInviting);

    R<T> removeCompetition(String token, Integer id);

    R<List<VipCompetitionDetail>> getCreatCompetitions(String token);

}
